/**
 * 
 */
function winopenInit(){
	document.getElementById('btnFine').onclick = function(){
		win = window.open('win_sub.html','win','');
	}

}
function win_subInit(){
	tar = window.opener.document.frm;
	tar.address.value='우편번호를 검색하세요...';
	var s = document.getElementById('sel');
	s.onchange= function(){
		var pos = s.selectedIndex;
		var zip = s[pos].value.split('-');
		var address = s[pos].text;
		
		tar.zip1.value =zip[0];
		tar.zip2.value =zip[1];
		tar.address.value = address;
	}
}